package com.ytd.smartcanteen.weighting.bean.response;

import java.io.Serializable;

/**
 * Your class notes
 *
 * @author gaoguanchao
 * @since 2023/4/21
 */
public class GetConsumeResponse implements Serializable {

    /**
     * totalConsume : 20.34
     * balance : 50
     * isNewUser : true
     * accountNo : 132****1234
     */

    public double totalConsume;
    public double balance;
    public boolean newUser;
    public String accountNo;


    /**
     * totalConsume : 20.34
     * balance : 50
     * whetherLimitWeightOfTake : 1
     * limitWeightOfTake : 500
     * totalWeightOfTake : 200
     */

    public int whetherLimitWeightOfTake = 0;
    public int limitWeightOfTake = 0;
    public int totalWeightOfTake;
    public String userId;
    public int startingWeight = -1;
    public boolean fixedPriceAndTaken;


    @Override
    public String toString() {
        return "{" +
            "accountNo='" + accountNo + '\'' +
            ",totalConsume=" + totalConsume +
            ", balance=" + balance +
            ", userId='" + userId + '\'' +
            '}';
    }
}
